package com.petc.api.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.time.LocalDateTime;

@Data
@TableName(value = "petc_device_bind")
public class DeviceBind {

    @TableId
    @TableField(value = "id")
    private Integer id;

    @TableField(value = "user_id")
    private Integer userId;

    @TableField(value = "device_id")
    private String deviceId;

    @TableField(value = "bind_time")
    private LocalDateTime bindTime;

    @TableField(value = "device_name")
    private String deviceName;

    @TableField(value = "bind_state")
    private Integer bindState;
}
